<?php

namespace IMT\EventBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use IMT\EventBundle\Entity\Comment;

class FILEController extends Controller
{
	public function loadCommentAction($id)
    {
    	$repository = $this->getDoctrine()->getRepository('IMTEventBundle:Event');
    	$eventObject = $repository->findOneById($id);
    	
    	return $this->render('IMTEventBundle:Event:file.html.twig'); 	
    }
}


